package com.vito.dcs.asphalt.device.dao;


import java.util.*;
import com.vito.dcs.asphalt.device.model.MixAsphaltBlenderModel;

/**
 * 沥青搅拌机设备设置表持久化接口
 * @author  lyhao E-mail: 
 * @version 0.0.1
 * @date    2019-4-15 11:01:21
 */
public interface MixAsphaltBlenderMapper {

	/**
	 * 持久化mixasphaltblender
	 * @author  lyhao E-mail: 
	 * @version 0.0.1
	 * @date    2019-4-15 11:01:21
	 * @return  保存的条数
	 * @param   mixasphaltblender 需要持久化的沥青搅拌机设备设置表对象
	 */
	public Integer saveMixAsphaltBlender(Map<String,Object> map);
	/**
	 * 查询mixasphaltblender集合
	 * @author  lyhao E-mail: 
	 * @version 0.0.1
	 * @date    2019-4-15 11:01:21
	 * @return  查询出的MixAsphaltBlenderModel集合
	 * @param   mixasphaltblender 通过沥青搅拌机设备设置表对象查询
	 */
	public List<MixAsphaltBlenderModel> queryMixAsphaltBlenderByPage(MixAsphaltBlenderModel mixasphaltblender);
	
	/**
	 * 查询mixasphaltblender总条数
	 * @author  lyhao E-mail: 
	 * @version 0.0.1
	 * @date    2019-4-15 11:01:21
	 * @return  查询出的MixAsphaltBlenderModel条数
	 * @param   mixasphaltblender 通过沥青搅拌机设备设置表对象查询
	 */
	public Integer queryMixAsphaltBlenderByCount(MixAsphaltBlenderModel mixasphaltblender);
	
	/**
	 * 查询mixasphaltblender
	 * @author  lyhao E-mail: 
	 * @version 0.0.1
	 * @date    2019-4-15 11:01:21
	 * @return  查询出的MixAsphaltBlenderModel
	 * @param   mixasphaltblender 通过沥青搅拌机设备设置表对象查询
	 */
	public MixAsphaltBlenderModel queryMixAsphaltBlender(MixAsphaltBlenderModel mixasphaltblender);
	
	/**
	 * 更新mixasphaltblender对象
	 * @author  lyhao E-mail: 
	 * @version 0.0.1
	 * @date    2019-4-15 11:01:21
	 * @return  查询出的更新条数
	 * @param   mixasphaltblender 修改mixasphaltblender对象主键对应的其他数据
	 */
	public Integer updateMixAsphaltBlender(Map<String,Object> map);
	
	/**
	 * 删除mixasphaltblender
	 * @author  lyhao E-mail: 
	 * @version 0.0.1
	 * @date    2019-4-15 11:01:21
	 * @return  变更条数
	 * @param   mixasphaltblender 删除mixasphaltblender对象的checkeds 包含的mixasphaltblender主键对应的数据
	 */
	public Integer deleteMixAsphaltBlender(String stationId);

	public Integer deleteMixAsphaltBlenderByStationId(String id);
	
	public Integer updateIsCurrent(Map<String,Object> map);
	
	public List<HashMap<String, String>> findBlenderBySectionId(Map<String, String> map);

	/**
	 *  根据工艺ID 搅拌机编号查询对应数据是否有存在
	 * @param map
	 * @return
	 */
	public String queryAsphaltLayerIdMachineNo(Map<String,String> map);
}